﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.ComponentModel;

namespace KDS.Mes.Mes.Stations.Dtos
{
    /// <summary>
    /// 工位信息列表Dto
    /// </summary>
    [AutoMapFrom(typeof(Station))]
    public class StationListDto : EntityDto<int>
    {
        public string FactoryName { get; set; }

        public string WorkshopName { get; set; }

        /// <summary>
        /// 所属线体
        /// </summary>
        [DisplayName("所属线体")]
        public int LineId { get; set; }

        public string LineName { get; set; }

        /// <summary>
        /// 工位名称
        /// </summary>
        [DisplayName("工位名称")]
        public string StationName { get; set; }

        /// <summary>
        /// 工位代码
        /// </summary>
        [DisplayName("工位代码")]
        public string StationCode { get; set; }

        /// <summary>
        /// 最后编辑时间
        /// </summary>
        [DisplayName("最后编辑时间")]
        public DateTime? LastModificationTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }
    }
}